import os

import pytest
from utils.common import  send_mial
from utils.CONSTANT import basedir
if __name__ == '__main__':

    pytest.main(['./case','-s','-m','test','--alluredir','./temp','--clean-alluredir'])
    os.system(f'allure generate ./temp -o allure-report --clean')
    send_mial(basedir+r'\allure-report\index.html')